package com.lcx.server.pojo;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * 聊天消息
 * @author Logan
 * @create 2021-12-1319:56
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class ChatMessage {
    private String from; //发起人(登陆时的用户名)
    private String to; //接收人
    private String content; //内容
    private LocalDateTime date; //时间
    private String fromNickName; //发起人昵称
}
